package com.vichat.common.rudp;

public enum SendResultEnum implements java.io.Serializable {
    BILL_SUCCESS("0", "调用成功"),
    BILL_ERR_INVALID_SENDER("7001", ""),
    BILL_ERR_INVALID_RECEIVER("7002", ""),
    BILL_ERR_INVALID_GIFT_ID("7003", "产品信息不正确"),
    BILL_ERR_INVALID_MESSAGE("7004", "业务报文解析失败"),
    BILL_ERR_INVALID_PARAMETER("7005", "业务参数不正确"),
    BILL_ERR_INSUFFICENT_BALANCE("7006", ""),
    BILL_ERR_SENDER_LOCKED("7007", "账户锁定"),
    BILL_ERR_RECEIVER_LOCKED("7008", "账户锁定"),
    BILL_ERR_OUT_OF_SERVICE("7009", ""),
    BILL_ERR_GIFT_SRV_BUSY("7010", "计费排队超时"),
    BILL_ERR_UNKNOWN("7011", "未知业务异常");


    private String sendResult = "0";
    private String resultDesc = "";

    private SendResultEnum(String inSendResult, String inresultDesc) {
        sendResult = inSendResult;
        resultDesc = inresultDesc;
    }

    public String value() {
        return sendResult;
    }

    public String desc() {
        return resultDesc;
    }

}
